/**
 * 
 */
package com.itboye.core.alert;

import com.itboye.mengwu.app.MainApplication;

import android.widget.Toast;

/**
 * @author hebidu
 * 
 */
public class ByAlert {
	public static void alert(String info) {
		if (info != null) {
			if (info.equals("用户ID缺失") || info.equals("UID不能为空")) {
//				Toast.makeText(MainApplication.getContext(), "亲,你还未登录,登录后更精彩",
//						3).show();
			} else {
				Toast.makeText(MainApplication.getContext(), info, 3).show();
			}
		}
	}
}
